package com.st.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.st.entity.Attractions;
import com.st.entity.ScenicDetail;
import com.st.entity.Site;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface IAttractionMapper extends BaseMapper<Attractions>{
        //查询所有城市
        @Select("select * from site")
        public List<Site> findAll();

        IPage<Attractions> findAttractions(IPage<Attractions> iPage, Attractions attractions);


}
